package com.nervenets.web.controller.user;

import com.nervenets.web.controller.TokenParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Positive;

@EqualsAndHashCode(callSuper = true)
@Data
public class WithdrawCheckParams extends TokenParams {
    @ApiModelProperty(value = "提现记录ID", required = true)
    @Positive(message = "提现记录ID必须是正整数")
    private long withdrawId;
    @ApiModelProperty(value = "成功或失败")
    private boolean success;
    @ApiModelProperty(value = "若失败，失败原因")
    private String failedReason;
}
